//
//  GYStorageUserViewModel.h
//  GYDemo
//
//  Created by Mrzhang on 2018/5/16.
//  Copyright © 2018年 mac. All rights reserved.
//

#import "GCBaseViewModel.h"

#import "GYUserImageTitleCell.h"

///
//@interface GYTableSectionViewModel : NSObject
//@property (nonatomic,strong) NSString *sectionTitle;
//@property (nonatomic,assign) BOOL isHiden;
//@property (nonatomic,strong) NSMutableArray *items;
//-(instancetype)initWithTitle:(NSString *)title items:(NSArray *)items;
//@end


///仓储信息
@interface GYStorageUserInfoModel : NSObject
@property (nonatomic, strong) NSString * address;
@property (nonatomic, strong) NSString * bz;
@property (nonatomic, strong) NSString * company;
@property (nonatomic, strong) NSObject * email;
@property (nonatomic, strong) NSObject * fax;
@property (nonatomic, assign) NSInteger idField;
@property (nonatomic, strong) NSString * idcard;
@property (nonatomic, strong) NSString * introduction;
@property (nonatomic, strong) NSString * mobile;
@property (nonatomic, strong) NSString * name;
@property (nonatomic, strong) NSString * orgcode;
@property (nonatomic, strong) NSArray * piclist;
@property (nonatomic, strong) NSString * qq;
@property (nonatomic, strong) NSString * region;
@property (nonatomic, assign) NSInteger score;
@property (nonatomic, strong) NSString * type;
@property (nonatomic, assign) NSInteger volume;
@property (nonatomic, strong) NSString * xlevel;
@end




//用户信息
@interface GYStorageUserModel : NSObject
@property (nonatomic, strong) NSString * access_token;
@property (nonatomic, strong) NSString * company;
@property (nonatomic, strong) NSString * createtime;
@property (nonatomic, assign) NSInteger idField;
@property (nonatomic, strong) NSString * introduction;
@property (nonatomic, strong) NSString * mobile;
@property (nonatomic, strong) NSString * name;
@property (nonatomic, strong) NSString * qq;
@property (nonatomic, assign) NSInteger score;
@property (nonatomic, strong) NSString * type;
@end

@interface GYStorageUserViewModel : GCBaseViewModel
@property (nonatomic,strong) GYStorageUserModel *userModel;
@property (nonatomic,strong) GYStorageUserInfoModel *storageUserInfoModel;
@property (nonatomic,strong) NSString *userPhone;
@property (nonatomic,strong) NSString *userShopLevel;
@property(nonatomic,assign)BOOL isSuccess;
///1 未认证  2 认证
@property (nonatomic,strong) NSString *userCompanyAuthoStatus;
//列表信息
@property (nonatomic,strong) NSMutableArray *userDetails;
+(instancetype)shareInterface;
///仓储 是否认证
-(void)requestCompanyAuthoInfo;
///仓储店铺信息
-(void)requestUserShopBaseInfo;
///更新商铺简介信息
-(void)requestUpdateUserShopBaseInfo:(NSMutableDictionary *)para;
///更新仓储用户信息
-(void)requestUpdateUserInfo:(NSMutableDictionary *)para;
///修改密码
-(void)requestChangePassword:(NSMutableDictionary *)para;
// 上传店铺图片
-(void)requestModifyShopImage:(NSMutableDictionary*)para delete:(BOOL)isDelete end:(BOOL)isEnd;
///退出登录
-(void)logout;
@end
